<!DOCTYPE html>
<html lang="en" xmlns:javascript="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="/back/js/jquery-3.4.1.min.js"></script>
    <link rel="stylesheet" href="/back/css/user/updateUser.css">
    <script src="/back/js/user/updateUser.js"></script>
</head>
<body>
<a class="return" onclick="back()" ><div title="返回"><</div></a>
<div class="jj">
    <div>
        <div class="content">
            <div class="text">用户名:</div>
            <div class="jk"><input type="text" id="username"  disabled="disabled" /></div>
        </div>
        <div><span id="name"></span></div>
        <div  class="content">
            <div class="text">密码:</div>
            <div class="jk"><input type="text" id="password"/></div>
        </div>
        <div class="content">
            <div class="text">手机号:</div>
            <div class="jk"><input type="text" id="phone" /></div>
        </div>
        <div class="content">
            <div class="text">性别:</div>
            <div class="jk">
                <input type="radio" name="sex" value="保密"/>保密
                <input type="radio" name="sex" value="男" />男
                <input type="radio" name="sex" value="女" />女
            </div>
        </div>
        <div class="content">
            <div class="text">生日:</div>
            <div class="jk"><input type="date" id="birthday" /></div>
        </div>
        <div class="content">
            <div class="text" >爱好:</div>
            <div class="jk">
                <input type="checkbox" name="hobby" value="游泳" />游泳
                <input type="checkbox" name="hobby" value="跑步" />跑步
                <input type="checkbox" name="hobby" value="打电动" />打电动
            </div>
        </div>
        <div class="content">
            <div class="text" >自我评价:</div>
            <div class="jk"><textarea id="introduce"></textarea></div>
        </div>
        <div class="content">
            <div class="button"><input class="button" type="button" value="清空" onclick="clean()" /></div>
            <div class="button"><input class="button" id="register" type="button" value="确定" onclick="update()" /></div>
        </div>
    </div>
</div>
</body>
<script>
    //注册========================================
    // 获得 复选框的值=====================================
    //第二次密码是否相同================
    //清除页面的数据==================================================
    function clean() {
        $("#password").val("");
        $("#repassword").val("");
        $("#phone").val("");
        $("#birthday").val("");
        $("#introduce").val("");
    }
    //匹配name格式=================================
</script>
</html>